package com.jiwei.system.pojo;

public class Book {
    private String id;
    private String bid;
    private String name;
    private String publisher;
    private String author;
    private int totalAmount;
    private int currentAmount;

    public Book(){

    }
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getBid() {
        return bid;
    }

    public void setBid(String bid) {
        this.bid = bid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPublisher() {
        return publisher;
    }

    public void setPublisher(String publisher) {
        this.publisher = publisher;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public int getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(int totalAmount) {
        this.totalAmount = totalAmount;
    }

    public int getCurrentAmount() {
        return currentAmount;
    }

    public void setCurrentAmount(int currentAmount) {
        this.currentAmount = currentAmount;
    }

    @Override
    public String toString(){
        return "Book{" +
                "id='" + id + '\''  +
                ", bid='" + bid + '\'' +
                ", name='" +  name + '\''  +
                ", publisher='" + publisher + '\''  +
                ", author='" + author + '\''  +
                ", totalAmount=" + totalAmount +
                ", currentAmount=" + currentAmount +
                "}";
    }

}
